package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 节点参数
 * @author LikeAdmin
 */
@Data
@ApiModel("节点更新参数")
public class NodeUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "节点名称")
    private String nodeName;

    @ApiModelProperty(value = "人员类型")
    private String personnelType;

    @ApiModelProperty(value = "允许编辑")
    private String isEdit;

    @ApiModelProperty(value = "下一步流程")
    private Integer nextStep;

    @ApiModelProperty(value = "当前序号")
    private Integer number;

    @ApiModelProperty(value = "流程编号")
    private Integer flowNodeId;

    @ApiModelProperty(value = "操作人ID")
    private Integer userId;

    @ApiModelProperty(value = "操作人名称")
    private String userName;

    @ApiModelProperty(value = "修改人编号")
    private Integer updateUserId;

    @ApiModelProperty(value = "修改人名称")
    private String updateUserName;

}
